<? include_once("../../consoles/config.php");?>

<?
 include_once("get_mp_access_token.php");


$openid               = $_REQUEST['openid'];

//从接口获取用户的信息
$_getcontent=file_get_contents("https://api.weixin.qq.com/cgi-bin/user/info?access_token=".$access_token."&openid=".$openid);


    $_contents=json_decode($_getcontent,true);

    print_r2($_contents);

?> 


 